package com.jwsoft.manager.common.enums;

/**
 * 金华教育学生信息同步导入类型
 */
public enum JhSyncImportEnum {
    apply("1", "报名信息导入"),
    approve("2", "审核信息导入"),
    enroll("3", "录取息导入");

    private String type;
    private String name;

    private JhSyncImportEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public static JhSyncImportEnum getByType(String type) {
        for (JhSyncImportEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
